#@layout()
#define nav()
	#@adminNav()
#end
#define main()
		#for(x : project.getList())
		<div class="panel panel-primary">
		<div class="panel-heading">
			<h4 class="panel-title">
				<a data-toggle="collapse" data-parent="#accordion" 
				   href="#collapse#(x.id)">
					#(x.name)
				</a>
			</h4>
		</div>
		<div id="collapse#(x.id)" class="panel-collapse collapse">
			<div class="panel-body">
				<form class="form-horizontal" role="form" method="post" action="/admin/changeProjectInfo" >
				<div class="form-group">
					<label for="projectId" class="col-sm-3 control-label">项目编号</label>
						<div class="col-sm-8">
							 <input class="form-control" id="projectId" name="project.projectId" type="text"  value="#(x.projectId)" readonly="readonly">
						</div>
				</div>
				<div class="form-group">
					<label for="data" class="col-sm-3 control-label">项目年度</label>
						<div class="col-sm-8">
							 <input class="form-control" id="data" name="project.year" type="text"  value="#(session.thisYear)" readonly="readonly">
						</div>
				</div>
				<div class="form-group">
					<label for="organization" class="col-sm-3 control-label" >报送单位</label>
						<div class="col-sm-8">
							 <input class="form-control" id="organization" name="project.organization" type="text" value="#(x.organization)" >
						</div>
				</div>
				<div class="form-group">
					<label for="name" class="col-sm-3 control-label" >项目名称</label>
						<div class="col-sm-8">
							 <input class="form-control" id="name" name="project.name"  value="#(x.name)" type="text"  >
						</div>
				</div>
				<div class="form-group">
					<label for="type" class="col-sm-3 control-label" >项目类型</label>
						<div class="col-sm-8">
							 <select class="form-control" name="project.type">
      							<option>创新训练项目</option>
      							<option>创业训练项目</option>
      							<option>创业实践项目</option>
   							</select>
						</div>
				</div>
				<div class="form-group">
					<label for="personsResponsibleName" class="col-sm-3 control-label" >负责人姓名</label>
						<div class="col-sm-8">
							 <input class="form-control" id="personsResponsibleName" name="project.personsResponsibleName" type="text"  value="#(x.personsResponsibleName)" readonly="readonly">
						</div>
				</div>
				<div class="form-group">
					<label for="personsResponsibleNumber" class="col-sm-3 control-label" >负责人学号</label>
						<div class="col-sm-8">
							 <input class="form-control" id="personsResponsibleNumber" name="project.personsResponsibleNumber" type="text"  value="#(x.personsResponsibleNumber)" readonly="readonly">
						</div>
				</div>
				<div class="form-group">
					<label for="otherPeople" class="col-sm-3 control-label" >其他成员</label>
						<div class="col-sm-8">
							 <input class="form-control" id="otherPeople" name="project.otherPeople" type="text"  value="#(x.otherPeople)" >
						</div>
				</div>
				<div class="form-group">
					<label for="number" class="col-sm-3 control-label" >参与学生人数</label>
						<div class="col-sm-8">
							 <input class="form-control" id="number" name="project.number" type="text" value="#(x.number)" >
						</div>
				</div>
				<div class="form-group">
					<label for="teacherName" class="col-sm-3 control-label"  >指导教师姓名</label>
						<div class="col-sm-8">
							 <input class="form-control" id="teacherName" name="project.teacherName" type="text"   value="#(x.teacherName)">
						</div>
				</div>
				<div class="form-group">
					<label for="teacherTitle" class="col-sm-3 control-label">指导教师职称</label>
						<div class="col-sm-8">
							 <input class="form-control" id="teacherTitle" name="project.teacherTitle" type="text"   value="#(x.teacherTitle)">
						</div>
				</div>
				<div class="form-group">
					<label for="code" class="col-sm-3 control-label" >一级学科代码</label>
						<div class="col-sm-8">
							<input class="form-control" id="code" name="project.code" type="text" value="#(x.code)">
							<span class="help-block"><a href="http://dean.pku.edu.cn/urtpku/yjxk.html" target=_blank><font color=blue>中华人民共和国学科分类与代码</font></a></span>
						</div>
				</div>
				<div class="form-group">
					<label for="phone" class="col-sm-3 control-label" >负责人联系电话</label>
						<div class="col-sm-8">
							 <input class="form-control" id="phone" name="project.phone" type="text" value="#(x.phone)" >
						</div>
				</div>
				<div class="form-group">
					<label for="teacherPhone" class="col-sm-3 control-label" >第一指导教师联系电话</label>
						<div class="col-sm-8">
							 <input class="form-control" id="teacherPhone" name="project.teacherPhone" type="text" value="#(x.teacherPhone)" >
						</div>
				</div>
				<div class="form-group">
					<label for="introduction" class="col-sm-3 control-label">项目简介</label>
						<div class="col-sm-8">
							<textarea class="form-control" rows="20" id="introduction" name="project.introduction" >#(x.introduction)</textarea>
						</div>
				</div>
				
				<div class="form-group">
				<div class="col-sm-offset-5 col-sm-5">
					<button type="submit" class="btn btn-default">提交</button>
				</div>
				</div>
						
				</form>
			</div>
		
		</div>
		</div>
		#end
		#@paginate(project.pageNumber,project.totalPage,"changeProject")
	
#end